package com.rms.hr.user.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.rms.hr.user.dao.UserDao;
import com.rms.hr.user.model.User;
import com.rms.hr.user.service.UserService;

/**
 * @author lgw0822
 *
 */
@Service("userService")
public class UserServiceImpl implements UserService {

	
	public UserDao userDao;
	
	@Autowired
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}



	/**
	 * @return
	 */
	public List<User> getAllUser(){
		List<User> userList = this.userDao.getAll();
		return userList;
	}
}
